import request from '@/utils/request'
// 银行卡
const BASE = "/base/bankcard"
// 分页查询
export function getbankcardListApi(params) {
    return request({
        url: `${BASE}/list`,
        method: "get",
        params
    })
}

// 删除
export function getbankcardRemoveApi(id) {
    return request({
        url: `${BASE}/remove/${id}`,
        method: "DELETE",

    })
}

// 添加
export function getbankcardAddApi(data) {
    return request({
        url: `${BASE}/add`,
        method: "POST",
        data
    })
}